#include "MedianFilter.h"
#include "support.h"
#include <opencv2\imgproc\imgproc.hpp>


MedianFilter::MedianFilter(int radius) : Filter(1, 1), radius(radius)
{

}


MedianFilter::~MedianFilter(void)
{
}

void MedianFilter::Process()
{
	cv::medianBlur(*inputs[0], outputs[0], radius);
}